#define _CRT_SECURE_NO_WARNINGS
#include<stdbool.h>
bool Tree(struct  RreeNode* root)
{
	if (root == NULL)
	{
		return  true;
	}
	if (root->left && root->lef->val != root->val)
	{
		return false;
	}
	if (root->right && root->right->val != root->val)
	{
		return false;
	}
	return Tree(root->left) && Tree(root->right);
}